package com.example.project.service;

import com.example.project.model.User;
import org.springframework.stereotype.Service;

public interface UserService {
    User registerUser(User user);

    User login(String username, String password); // 修改方法签名
}